<?php
/**
 * 系统设置
 */

global $_W, $_GPC;
$setting = M('setting')->getSetting('pro');
if (!empty($setting)) {
    $setting['logo'] = tomedia($setting['logo']);
    $setting['defaultThumb'] = tomedia($setting['default_thumb']);
}
$this->result(0, '获取到设置', $setting);